package com.shanyin.framework.member.entity;

import java.util.Date;

import com.shanyin.framework.common.base.BaseModel;

import lombok.Getter;
import lombok.Setter;

/**
 * @author qing.yunhui 
 * @Since 2011-2018
 * @create 2018-05-23 14:35:32
 * @history
 */
@Getter
@Setter
public class SysUser extends BaseModel<Long>{
	
	//alias
	public static final String TABLE_ALIAS = "SysUser";
	
	public SysUser() {}
	
	public SysUser(String phone,String password,String invitationCode,String registerChannel,Integer status) {
		this.phone=phone;
		this.password=password;
		this.invitationCode=invitationCode;
		this.registerChannel=registerChannel;
		this.status=status;
	}
	
	//columns START
	/**
	 * @Fields id:主键id
	 */
	private Long id;
	
	/**
	 * @Fields phone:手机号(唯一索引)
	 */
	private String phone;
	
	/**
	 * @Fields email:邮箱(唯一索引)
	 */
	private String email;
	
	/**
	 * @Fields password:密码(加密)
	 */
	private String password;
	
	/**
	 * @Fields tradePwd:交易密码(加密)
	 */
	private String tradePwd;
	
	/**
	 * @Fields status:状态(10.有效、20.已注销)
	 */
	private Integer status;
	
	/**
	 * @Fields registerChannel:注册渠道(10.h5、20.android、30.ios)
	 */
	private String registerChannel;
	
	/**
	 * @Fields invitationCode:邀请码
	 */
	private String invitationCode;
	
	/**
	 * @Fields gmtCreate:创建时间(注册时间)
	 */
	private Date gmtCreate;
	
	/**
	 * @Fields mgtModify:修改时间
	 */
	private Date mgtModify;
	
	/**
	 * @Fields deleted:删除标识(0.无效、1.有效)- 一般用于逻辑删除
	 */
	private Integer deleted;
	
	/**
	 * @Fields remark:备注
	 */
	private String remark;
	
	//columns END

}